package com.member.shop.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.member.common.annotation.Excel;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.experimental.SuperBuilder;
import com.member.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 营销页面分类关联数据对象 sys_biz_market_page_category_data
 *
 * @author lixinchen
 * @date 2025-01-20
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_biz_market_page_category_data")
public class SysBizMarketPageCategoryData extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 唯一id
     */
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 分类id
     */
    @Excel(name = "分类id")
    private Long marketPageCategoryId;


    /**
     * 业务类型（0: 优惠券 1：商品）
     */
    @Excel(name = "业务类型", readConverterExp = "0:,优惠券,1：商品")
    private Integer bussType;


    /**
     * 业务id
     */
    @Excel(name = "业务id")
    private Long bussId;


    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long orderNum;


    /**
     * 是否删除(0：未删除，1：删除)
     */
    @Excel(name = "是否删除(0：未删除，1：删除)")
    private Integer deleted;


    @TableField(exist = false)
    private SysBizCoupon coupon;

    @TableField(exist = false)
    private SysBizGoods goods;

}
